* {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5 {
  font-weight: bold;
}

html,
body,
#app,
.wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'PingFang SC', 'Helvetica Neue', Helvetica, 'microsoft yahei',
    arial, STHeiTi, sans-serif;
}

a {
  text-decoration: none;
}

#app {
  .plugins-tips a {
    color: #20a0ff;
  }

  .tags-li.active {
    border: 1px solid #409eff;
    background-color: #409eff;
  }

  .ms-login {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 380px;
    // height: 520px;
    margin: -210px 0 0 -190px;
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    // background: -20px -20px 60px rgba(0, 78, 196, 0.2);
    box-shadow:
      16px 16px 60px rgba(186, 0, 211, 0.08),
      -16px -16px 60px rgba(0, 78, 196, 0.2);
    animation: shadowMore 5s linear;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    display: flex;
    flex-direction: column;

    .ms-login-info {
      flex: 0 0 180px;
      height: 180px;
      background-image: url('~@/assets/loginImgs/info_bg.png');
      // background-size: cover;
      color: white;
      text-align: center;
      font-size: 24px;
      font-weight: 500;
      flex-direction: column;

      img {
        width: 180px;
        margin-bottom: 20px;
      }

      p {
        margin-bottom: 0;
        letter-spacing: 1.8px;
      }
    }

    .info-form {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 60%;
      padding: 15px 0 15px;
      width: 70%;
      margin: 0 auto;

      .ant-form-item:last-child {
        margin-bottom: 0;
      }

      .ant-form-item {
        display: block;
        width: 100%;

        .ant-col {
          width: 240px;

          button {
            width: 100%;
          }

          .ant-form-explain {
            text-align: left;
          }
        }
      }

      .info_input {
        background: #f4f5f8;
        height: 45px;
        padding: 0 15px;
      }

      .info_input input {
        background: #f4f5f8;
        outline: none;
        border: none;
        font-size: 15px;
        color: #9e9ea6;
        height: 100%;
        width: calc(100% - 32px);
        margin-left: 10px;
      }
    }

    @keyframes shadowMore {
      0% {
        box-shadow:
          16px 16px 60px rgba(186, 0, 211, 0.08),
          -16px -16px 60px rgba(0, 78, 196, 0.2);
      }

      100% {
        box-shadow:
          -16px -16px 80px rgba(186, 0, 211, 0.1),
          16px 16px 80px rgba(0, 78, 196, 0.22);
      }
    }
  }

  .content-box {
    position: absolute;
    left: @sideBarWidth;
    right: 0;
    top: 0;
    bottom: 0;
    -webkit-transition: left 0.3s ease-in-out;
    transition: left 0.3s ease-in-out;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    padding-top: 60px;

    .header {
      z-index: 1;
    }

    .tags {
      z-index: 2;
    }

    .topbox-wrap {
      position: relative;
      width: 100%;
      transition: all 0.28s linear;

      .top-wrap {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 4;
        height: 60px;
        flex: 0 0 60px;
        transition: all 0.28s linear;
        border-bottom: 1px solid #e8e8e8;
        // box-shadow: 0 0 10px rgba(3,3,3,0.15);
      }
    }

    .content {
      position: relative;
      box-sizing: border-box;
      padding: 0;
      position: relative;
      z-index: 3;
      box-sizing: border-box;
      height: 100%;
      background: #ffffff;
      overflow-x: hidden;
      padding: 25px;
      .router-view {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10000;
      }
    }
  }

  .sidebar-container {
    transition:
      background 0.3s,
      width 0.3s cubic-bezier(0.2, 0, 0, 1) 0s;
    width: @sideBarWidth;
    background-color: #001529;
    height: 100%;
    position: fixed;
    font-size: 0px;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    overflow: hidden;
  }

  .hideSidebar {
    .sidebar-container {
      width: 80px;
    }

    .content-collapse {
      left: 80px;
    }
  }

  //mobile
  .mobile.login-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .mobile {
    .top-wrap {
      left: 0 !important;
    }

    .ms-login {
      position: relative;
      top: 0;
      left: 0;
      width: 80%;
      // height: 520px;
      margin: 0;
      background: #fff;
      transition: all 0.3s;

      .ms-login-info {
        // display: none;
        height: 150px;
      }

      .info-form {
        width: 100%;

        // padding: 25px 0 15px;
        .el-form-item {
          width: 100%;
        }

        .info_input {
          box-sizing: border-box;
          background: #f4f5f8;
          height: 45px;
          padding: 0 15px;
          width: 90%;
          margin: 0 auto;
        }

        .info_input input {
          background: #f4f5f8;
          outline: none;
          border: none;
          font-size: 15px;
          color: #9e9ea6;
          height: 100%;
        }
      }
    }

    .drawer-bg {
      position: fixed;
      left: 0;
      top: 0;
      bottom: 0;
      width: 100%;
      background: rgba(3, 3, 3, 0.2);
      z-index: 1000;
    }

    .sidebar-container {
      transition: transform 0.28s;
      width: @sideBarWidth !important;
    }

    .withoutAnimation {
      .sidebar-container {
        transition: none;
      }
    }

    .content-box {
      left: 0px;
    }

    &.hideSidebar {
      .sidebar-container {
        pointer-events: none;
        transition-duration: 0.3s;
        transform: translate3d(-@sideBarWidth, 0, 0);
      }

      .content-collapse {
        left: 0;
      }
    }

    .content-box {
      left: 0;
    }
  }

  .mobile.sidebar-container {
    position: fixed;
    top: 0;
  }

  // 搜索项对齐问题
  .index_base_search {
    .ant-form-item-label {
      max-width: 100px;
    }

    .ant-form-item-control-wrapper {
      flex: 1;
    }

    .ant-calendar-picker {
      width: 100% !important;
    }

    .form-item {
      width: 100%;
      display: flex;

      .ant-col {
        width: 100%;
      }
    }
  }
}

// 分页器样式，需要在外面加一层，类名加在外层元素上
.pagination_style {
  width: 100%;
  // margin-top: 20px;

  /* 页码导航样式 start */
  .ant-pagination {
    width: 100%;
    display: flex;

    .ant-pagination-total-text {
      flex: 1;
    }

    .ant-pagination-item-active a {
      color: #fff;
      background: #1890ff;
    }

    .ant-pagination-item,
    .ant-pagination-item-link,
    .ant-select-selection {
      border-radius: 2px;
    }

    .ant-pagination-options-quick-jumper input {
      border-radius: 2px;
    }
  }

  /* 页码导航样式 end */
}
